import { defineStore } from "pinia";
import { usePaymentMethodBaseStore } from "./payment-method-base";

export const usePaymentMethodStore = defineStore("paymentMethod", () => {
  const paymentMethodBaseStore = usePaymentMethodBaseStore();
  return {
    getPaymentMethods: paymentMethodBaseStore.getPaymentMethods,
    getPaymentMethod: paymentMethodBaseStore.getPaymentMethod,
    savePaymentMethod: paymentMethodBaseStore.savePaymentMethod,
    deletePaymentMethod: paymentMethodBaseStore.deletePaymentMethod,
  };
});
